<?php

namespace app\common\validate;

use think\Validate;

class Companys extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'tel'  => 'require',
        'addr' => 'require',
    ];

    protected $message  =   [
        'name.require' => '公司名称不能为空',
        'tel.require' => '电话不能为空',
        'addr.require' => '地址不能为空',
    ];

}